<template>
    <div class="undone-meeting">
        <el-table :data="unDoneMeeting">
            <el-table-column prop="topic" label="会议主题"/>
            <el-table-column prop="endTime" label="会议结束时间"/>
            <el-table-column prop="host" label="主持人"/>
            <el-table-column label="状态">
                <template #default="s">
                    <el-tag type="danger">未参加</el-tag>
                </template>
            </el-table-column>
<!--            createTime: "2022-05-20 23:07:55"-->
<!--            endTime: "2022-05-20 21:00"-->
<!--            host: "陆萱萱"-->
<!--            id: 44-->
<!--            peopleNum: 2-->
<!--            presentMember: "[\"3\",\"11\"]"-->
<!--            processId: "9fe64656-d84e-11ec-8b50-00ff37603673"-->
<!--            startTime: "2022-05-20 00:00"-->
<!--            status: 0-->
<!--            topic: "新建会议"-->
        </el-table>
    </div>
</template>

<script>
import {personalUndoneMeeting} from "../../../../network/adm/meeting";

export default {
    name: "UndoneMeeting",
    data() {
        return{
            unDoneMeeting: []
        }
    },
    methods: {
        loadPersonalUndoneMeeting(){
            personalUndoneMeeting().then(vo=>{
                this.$response.handle({
                    data: vo,
                    successFn: ()=>{
                        this.unDoneMeeting = vo.data;
                    },
                    log: '我未参加的会议'
                })
            })
        }
    },
    created() {
        this.loadPersonalUndoneMeeting();
    }
}
</script>

<style scoped>
*{
    /*border: 1px solid red;*/
}
.undone-meeting{

}
</style>
